package git.LengNanJun.day319.demo1;

public class SmallDog extends Dog {
    public SmallDog(String name, String color, String type, int age, String size) {
        super(name, color, type, age, size);
    }

    @Override
    public String toString() {
        return "名字：" + super.name + "\n颜色：" +
                super.color + "\n年龄：" + super.age + "\n类型：" +
                super.type + "\n大小：" + super.size;
    }
}
